/* 文档内容样式重置 */
code {
  padding: 2px 4px;
  font-size: 14px;
  color: var(--theme-color-assist);
  background-color: rgba(var(--theme-opacity),.1);
}
.markdown pre code {
  padding: 0;
  background: 0 0;
}
#markdown table{
  overflow: auto;
  display: block;
  width: 100%;
}
#markdown img{
  background-color: var(--theme-white);
}
#markdown table td,
#markdown table th {
  border: 1px solid var(--theme-cross-line);
  padding:8px 12px;
  vertical-align: top;
  text-align: left !important;
}
#markdown blockquote { 
  background-color: var(--theme-card-bg);
  border-left: 4px solid var(--theme-color);
  padding: 16px;
  margin: 16px 0;
}
#markdown blockquote pre{
  background: none;
  padding: 0;
  border:0;
}
#markdown blockquote p:last-child{margin: 0;}
#markdown table thead {
  background: var(--theme-form-head);
}
#markdown table th{
  font-weight: bold;
  color: var(--theme-title);
  white-space: nowrap;
}
#markdown table td{
  background-color: var(--theme-card-bg);
} 
#markdown h1 a,
#markdown h2 a,
#markdown h3 a #markdown h4 a,
#markdown h5 a,
#markdown h6 a {
  display: none;
}

#markdown a[href^="#"] {
  display: inline;
}

#markdown p,
#markdown ul li,
#markdown ol li,
#markdown table tr {
  color: var(--theme-text);
}
#markdown ul,
#markdown p,
#markdown ol,
#markdown table{
  margin-bottom: 12px;
}
#markdown p {
  line-height: 22px;  
}
pre{
  word-break: break-all;
  word-wrap: break-word;
  display: block;
}
.highlight pre{
  background: var(--theme-card-bg) !important;
}

hr{
  margin:24px 0;
}

#markdown pre {
  margin-bottom: 10px;
  background: var(--theme-card-bg);
  padding: 16px;  
  overflow-x: auto;
  border: 1px solid var(--theme-cross-line);
  line-height: 20px;
  min-height: 32px;
}
/* #markdown pre code {
  padding: 24px;
} */
#markdown pre p a,
#markdown code p a,
#markdown p a,
#markdown ul li p a,
#markdown ol li p a,
#markdown table tr p a {
  color: var(--theme-active);
  text-decoration: none;
  font-weight: 500;
}

#markdown pre p img,
#markdown code p img,
#markdown p img,
#markdown ul li p img,
#markdown ol li p img,
#markdown table tr p img {
  max-width: 100%;
}

#markdown h1,
#markdown h2,
#markdown h3,
#markdown h4,
#markdown h5 {
  font-weight: bold;
  margin: 40px 0 16px 0;
}

#markdown h1 a,
#markdown h2 a,
#markdown h3 a,
#markdown h4 a,
#markdown h5 a {
  display: none;
}

#markdown h1 {
  font-size: 36px;
  margin-top: 0;
  padding-bottom: 20px;
  font-weight: 500;
}

#markdown h2 {
  font-size: 24px;
}
#markdown h3 {
  font-size: 20px;
}
#markdown h4 {
  font-size: 18px;
}
#markdown h5 {
  font-size: 16px;
}

#markdown ol li,
#markdown ul li {
  line-height: 24px;
}

#markdown ol li ol {
  padding-left: 20px;
}

#markdown ul li a {
  color: var(--theme-color);
  text-decoration: none;
}

#markdown ul,
ol {
  list-style: initial;
  padding-left: 30px;
}
#markdown ol {
  list-style: decimal;
}
#markdown strong {
  font-weight: bold;
  color: var(--theme-title);
}
#markdown a strong{
  color: var(--theme-active);
}
@media screen and (max-width: 1100px) {
  #markdown {
    width: 100%;
  }

  #markdown h1 {
    font-size: 18px;
    line-height:24px;
    height: auto;
    position: static;
    width: 100%;
  }

  #markdown h2 {
    font-size: 17px;
    line-height: 17px;
  }
  #markdown h3 {
    font-size: 16px;
    line-height: 16px;
  }
  #markdown h4 {
    font-size: 15px;
    line-height: 15px;
  }
  #markdown h5 {
    font-size: 14px;
    line-height: 14px;
  }

  #markdown p,
  #markdown ul li,
  #markdown ol li {
    line-height: 24px;
  }

  #markdown a,
  #markdown li,
  #markdown p {
    word-break: break-all;
    word-wrap: break-word;
  }

  #markdown table tr {
    height: 52px;
  }

  #markdown table td,
  #markdown table th {
    padding: 0;
    word-break: break-all !important;
  } 

  #markdown p,
  #markdown ul li,
  #markdown ol li,
  #markdown table tr {
    color: var(--theme-title);
  }
  .nav-menu div #lang {
    display: none;
  }
  .theme-change {
    display: none;
  }
}
